import axios from 'axios';
import Config from "../config";

const serverApi = Config.url+'/api';

export const getRoomExists = async (roomId) => {
	const response = await axios.get(`${serverApi}/room-exists/${roomId}`);
	return response.data;
};
